{
  config = {
    allowUnfree = true;
    allowBroken = true;
  };
  overlays = [
    niri.overlays.niri
    noctalia.overlays.default
    nvidia-patch.overlays.default
    (
      final: prev:
      with haumea.lib;
      load {
        src = ./_pkgs;
        loader = loaders.callPackage;
        inputs = removeAttrs prev [ "root" ] // {
          inherit final;
        };
        transformer = transformers.liftDefault;
      }
    )
    (
      final: prev: with prev; {
        # deadbeefPlugins = deadbeefPlugins // {
        #   lyricbar = deadbeefPlugins.lyricbar.overrideAttrs {
        #     NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types";
        #   };
        # };
        # swww = swww.overrideAttrs rec {
        #   version = "0.10.3";
        #   src = fetchFromGitHub {
        #     owner = "LGFae";
        #     repo = "swww";
        #     tag = version;
        #     hash = "sha256-GXqXZn29r7ktL01KBzlPZ+9b1fdnAPF8qhsQxhiqAsQ=";
        #   };
        #   cargoDeps = rustPlatform.importCargoLock {
        #     lockFile = src + "/Cargo.lock";
        #   };
        # };
        # wl-screenrec = wl-screenrec.override { ffmpeg = ffmpeg_6; };
      }
    )
  ];
}
